package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.MyCredit;
import java.util.List;

public interface MyCreditMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MyCredit record);

    MyCredit selectByPrimaryKey(Long id);

    List<MyCredit> selectAll();

    int updateByPrimaryKey(MyCredit record);

    void spendCredits(MyCredit myCredit);
}